<?php namespace Hdphp\Libs;
class Controller extends SmartyView{
    /**
     * 成功提示
     */
    public function success($msg,$url){
        include "Public/success.html";
    }
    public function error($msg,$url){
       $url = is_null($url) ? $_SERVER['HTTP_REFERER'] : $url ;
        include "Public/error.html";
    }

}